let request_id = (new Date()).getTime() + 1;

// 记录每一个请求的请求ID
function requestId(req, res, next) {
    req.requestId = request_id++;
    next();
}

module.exports = requestId;